package com.desgin.factory_mod.ab_fac.fac;

import com.desgin.factory_mod.ab_fac.pay.AliPay;
import com.desgin.factory_mod.ab_fac.pay.Pay;
import com.desgin.factory_mod.ab_fac.pay.WXPay;

/**
 * Created by zhaoshuai on 2017/4/10.
         */
public class DefaultPayFactory extends PayFactory {


    @Override
    public Pay createAliPay() {
        return new AliPay();
    }

    @Override
    public Pay createWxPay() {
        return new WXPay();
    }
}
